projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b155fb
)
(boyer_moore): Test ch >= 0400, not >.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 9 Apr 2006 01:59:45 +0000
(
01:59
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 9 Apr 2006 01:59:45 +0000
(
01:59
+0000)
src/search.c
patch
|
blob
|
history
diff --git
a/src/search.c
b/src/search.c
index b92812597d5de581ba0b0d428321d13d69b0586a..dfbf66fc7edce9b5fcaff77edfa42e3995ffd0f1 100644
(file)
--- a/
src/search.c
+++ b/
src/search.c
@@
-1720,7
+1720,7
@@
boyer_moore (n, base_pat, len, len_byte, trt, inverse_trt,
ch = -1;
}
- if (ch > 0400)
+ if (ch >
=
0400)
j = ((unsigned char) ch) | 0200;
else
j = *ptr;
@@
-1739,7
+1739,7
@@
boyer_moore (n, base_pat, len, len_byte, trt, inverse_trt,
while (1)
{
TRANSLATE (ch, inverse_trt, ch);
- if (ch > 0400)
+ if (ch >
=
0400)
j = ((unsigned char) ch) | 0200;
else
j = (unsigned char) ch;